package com.bicon.botu.medical.service

import com.baomidou.mybatisplus.plugins.Page
import com.baomidou.mybatisplus.service.IService
import com.bicon.botu.medical.model.dto.FoodAppDTO
import com.bicon.botu.medical.model.entity.Food

/**
 * 食物Service
 * @author 李双喜
 * @date 2018/7/18 11:46
 */
interface IFoodService : IService<Food> {


    fun searchFood(searchWord: String, pageNo: Int, pageSize: Int, userId: String): Page<FoodAppDTO>

    /**
     * 获取系统食物
     *
     * @param map
     * @return
     */
    fun getSystemFood(map: Map<String, String>): MutableList<FoodAppDTO>


}